<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>icon列表</title>
    <link rel="stylesheet" href="./vendor/simple-line-icons/css/simple-line-icons.css">
    <link rel="stylesheet" href="./vendor/font-awesome/css/fontawesome-all.min.css">
    <link rel="stylesheet" href="./css/styles.css">
</head>
<body class="sidebar-fixed header-fixed">
	<div class="page-wrapper">
		<nav class="navbar page-header top-menu"></nav>
		<div class="main-container">
			<div class="sidebar left-menu"></div>
			<div class="content">
				<div class="card-body">
					<div class="table-responsive">
						<table class="table">
							<thead>
								<tr>
									<th>图标</th>
									<th>名字</th>
									<th>code</th>
								</tr>
							</thead>
							<tbody id="iconTbody">
	
							</tbody>
						</table>
					</div>
				</div>
			</div>
		</div>
	</div>

	<script src="./vendor/jquery/jquery.min.js"></script>
	<script src="./js/config.js" ></script>
	<script src="./js/publicMenu.js" ></script>
	<script type="text/javascript" src="js/icon-list.js" ></script>
	<script>
		$(document).ready(function () {
			init();
		});
		function init(){
			var htmlStr='';
			for (var i = 0; i < iconList.length; i++) {
				var icon=iconList[i];
				htmlStr+='<tr>';
				htmlStr+='<td><i class="icon '+icon+' active"></i></td>';
				htmlStr+='<td >'+icon+'</td>';
				htmlStr+='<td class="text-nowrap"><pre>&lti class="icon '+icon+'"&gt&lt/i&gt</pre></td>';
				htmlStr+='</tr>';
			}
			$("#iconTbody").html(htmlStr);
		}
	</script>
</body>
</html>
